package com.study.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @Author Chen Jie
 * @Date 2022/3/5 13:25
 * @Version 1.0
 */
//开启Hystrix功能
@EnableHystrix
//开启Feign功能
@EnableFeignClients
//激活Eureka的客户端
@EnableEurekaClient
@SpringBootApplication
public class PortalApplication {
    public static void main(String[] args) {
        SpringApplication.run(PortalApplication.class, args);
    }
}
